<template>
  <div class="container" v-if="isStatus">
    <group label-width="4.5em" label-margin-right="2em" label-align="right">
      <cell title="服务器" :value="origin"></cell>
    </group>
    <span>提示当前服务器，生产环境后自动隐藏</span>
  </div>
</template>
<script>
import { Group, Cell } from "vux";
export default {
  data() {
    return {
      origin: '',
      isStatus: true
    };
  },
  created() {
      this.origin = window.location.origin;
      if (this.origin == 'a.taojiji.com' || this.origin == 'activity.shandjj.com') {
          this.isStatus = false;
      }
    //   this.origin = 'window.location.origin' == "http://localhost:8091" ? 
  },
  components: {
    Group,
    Cell
  }
};
</script>
<style lang='less' scoped>
</style>


